#ifndef _SINGLETON_H_
#define _SINGLETON_H_

#define  SingletonInstance( __className )	\
		public:\
				__declspec (noinline) static __className *getInstance()\
				{\
					static __className m_thisInstance;\
					return &m_thisInstance;\
				};
#endif
